package com.ngc.mall.domain;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ngc.mall.common.configure.mybatisPlus.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *
 * 抽奖item domain
 * @author: chenxiaolin
 * @date 2023/10/14 11:12
**/
@TableName("lottery_item")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LotteryItemDomain extends BaseDomain {
    private Long lotteryId;

    /**
     * 中奖概率
     */
    private BigDecimal percent;

    private String itemName;

    private Long prizeId;

    private Integer type;

    @TableLogic
    private Boolean deleted;
}
